package model;

import entity.SysUserEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by pc on 2018/4/30.
 */
public interface SysUserService {
    //业务逻辑
    //1.查询用户
    List<SysUserEntity> queryUser(Map<String,Object> params);
    //统计用户总记录数
    int queryUserCount(Map<String,Object> params);
    //2.插入用户
    int insertUser(SysUserEntity user);
    //3.修改用户
    int updateUser(SysUserEntity user);
    //4.删除用户
    int deleteUser(Integer userId);
    //5.批量删除用户
    int deleteBatchUser(Integer[] userIds);
}
